﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;

namespace T.FAS.Runtime.Metadata.Entity.Page
{
    /// <summary>
    /// 导入列信息
    /// </summary>
    [Serializable]
    public class ImportColumns
    {
        /// <summary>
        /// 列编码
        /// </summary>
        public string ColName { get; set; }
        /// <summary>
        /// Excel列名
        /// </summary>
        public string ExcelColName { get; set; }
        /// <summary>
        /// 列名
        /// </summary>
        public string caption { get; set; }
        /// <summary>
        /// DataSource
        /// </summary>
        public string DataSource { get; set; }
        /// <summary>
        /// DisplayField
        /// </summary>
        public string DisplayField { get; set; }
        /// <summary>
        /// ValueField
        /// </summary>
        public string ValueField { get; set; }
        /// <summary>
        /// IsRequired
        /// </summary>
        public bool IsRequired { get; set; }
        /// <summary>
        /// 是否展示
        /// </summary>
        public bool isShow { get; set; }
        /// <summary>
        /// 是否唯一
        /// </summary>
        public bool IsUnique { get; set; }
        /// <summary>
        /// 是否帮助
        /// </summary>
        public bool IsHelp { get; set; }
        /// <summary>
        /// 是否帮助替换
        /// </summary>
        public bool IsHelpReplace { get; set; }
        /// <summary>
        /// 导入规则
        /// </summary>
        public int ImportRules { get; set; }
        /// <summary>
        /// 是否需要
        /// </summary>
        public bool need { get; set; }
    }
}
